<template>
  <div id="app">
    <el-container>
      <el-container>
        <el-header> <up-head></up-head> </el-header>
        <el-container>
          <el-aside width="200px"> <leftMenu></leftMenu> </el-aside>
          <el-main>
            <router-view/>
          </el-main>
        </el-container>
      </el-container>
      <el-footer>Footer</el-footer>
    </el-container>
  </div>
</template>

<script>
import leftMenu from '@/components/leftMenu'
import upHead from '@/components/head'

export default {
  name: "App",
  components:{
    leftMenu,
  "up-head":upHead,

  },
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

.el-header,
.el-footer,
#header {
  background-color: #fff;
  color: #000;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 100%;
}

body > .el-container {
  margin-bottom: 100%;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

html,
body,
#app,
.el-container {
  margin: 0;
  height: 100%;
}
</style>
